package com.benjamin.common;

import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;

public class AlertUtils {
	public static void AlertDialog(Context ctx, Exception ex){
		
		new AlertDialog.Builder(ctx).setTitle("Error").setMessage(ex.getMessage())
		.setPositiveButton("Yes", new DialogInterface.OnClickListener() {

			@Override
			public void onClick(DialogInterface arg0, int arg1) {				
				
			}
		}).show();
	}
}
